<?php
require_once dirname(__FILE__) . '/../includes/common.inc.php';
require_once dirname(__FILE__) . '/../includes/pdoorm.inc.php';

header('Content-Type: text/plain');

$sql="
    insert into ns_v1user SELECT a.*,b.pEnabled,b.vEnabled,b.mEnabled,b.pWedding,b.pPrewedding,b.pPortrait,b.pEngagement,b.vWedding,b.vPrewedding,b.vPortrait,
                                    b.vEngagement,
                                    b.mStudio,
                                    b.mHouse ,
                                    b.mFullDay,
                                    b.lEnabled ,
                                    b.lightingRate,
                                    b.employmentType,
                                    b.yearlyRate,
                                    b.hourlyRate,
                                    b.commissionRate FROM ns_user a,ns_userskill b WHERE a.e_oid=b.e_oid
";

sql_execute($sql);
